package cn.wolfcode.shop.server.mapper;

import cn.wolfcode.shop.api.domain.ProductDesc;

import java.util.List;

public interface ProductDescMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductDesc record);

    ProductDesc selectByPrimaryKey(Long id);

    List<ProductDesc> selectAll();

    int updateByPrimaryKey(ProductDesc record);

    ProductDesc getDesc(Long productId);
}